import { createElement as h } from './vnode'

let vnode = h('div', {id:'app1'}, [
  h('p', {}, ['text']),
  h('h1', {}, ['hhhhhh']),
])

console.log(vnode)

let realDom = vnode.render()
console.log(realDom)

app.appendChild(realDom)